-- GENERATED SPELL FOR [Dire Condor] --


function spell0_428(pUnit, Event) --@Swoop,n/a--
pUnit:FullCastSpellOnTarget(5708,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_428', 2338, 1)
end

function Sorts_428(pUnit, Event)
local choix_sorts_428 = math.random(0, 0)
if choix_sorts_428 == 0 then
pUnit:RegisterEvent('spell0_428', 1, 1)
end
end

function mob428_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_428', math.random(1500, 3000), 1)
end

function mob428_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob428_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob428_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(428, 1, 'mob428_Action')
RegisterUnitEvent(428, 2, 'mob428_Leave')
RegisterUnitEvent(428, 3, 'mob428_Kill')
RegisterUnitEvent(428, 4, 'mob428_Die')
